package com.example.springbootdubboconsumer;

import com.example.springbootdubboconsumer.sao.CreativeManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chaird
 * @create 2023-07-23 21:23
 */
@RestController
public class CreativeController {

    @Autowired
    private CreativeManager creativeManager;

    @GetMapping("/addCreative")
    public Object addCreative(){
        Integer integer = creativeManager.addCreative();
        return integer;
    }
}
